package edu.hcmus.sow.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import edu.hcmus.sow.domain.FileAccessRight;

/**
 * DAO to manage FileAccessRight entities.
 * 
 */
public interface FileAccessRightDAO extends GenericDAO<FileAccessRight, Integer> {
   public List<FileAccessRight> getByFileID(Integer fileID) throws DataAccessException;

   public FileAccessRight findByFileAndUser(Integer fileID, Integer userID) throws DataAccessException;
}
